<template>
    <div>
        <iframe :src="path" frameborder="0"/>
    </div>
</template>

<script>
    import {getApiPath} from "../../../utils/common";

    export default {
        name: "DataMonitor",
        data() {
            return {
                path: getApiPath().replace("/api/", "/druid")
            }
        }
    }
</script>

<style scoped lang="scss">
    iframe {
        width: 100%;
        height: 85vh;
    }
</style>